feat: add refresh-on-open setting#1733
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 1, 2026, 7:24 AM ET / 11:24 UTC. Summary Reproducibility: not applicable. this is a feature/configuration PR rather than a bug report. Source inspection shows current main lacks the setting, and the PR adds focused tests for the new behavior. Review metrics: 3 noteworthy metrics.
Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Merge the repaired opt-in setting only if maintainers accept the explicit provider-call tradeoff; otherwise keep the current stale/missing visible-provider refresh behavior. Do we have a high-confidence way to reproduce the issue? Not applicable: this is a feature/configuration PR rather than a bug report. Source inspection shows current main lacks the setting, and the PR adds focused tests for the new behavior. Is this the best way to solve the issue? Yes, if maintainers accept the product direction. The implementation is default-off, persists through SettingsStore, preserves the existing default stale/missing refresh path, and now covers the Codex dashboard deferral edge. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 129f6962e6c3. Label changesLabel changes:
Label justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 513841fdb1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Fixes #1732
Summary
Maintainer decision
Recommendation: merge. This is a bounded, reversible opt-in. The tradeoff is extra provider traffic each time the menu opens, made explicit in the setting copy; no background cadence or default behavior changes.
Proof
make checkswift test --filter MenuOpenRefreshPlanTestsswift test --filter StatusMenuTestsswift test --filter SettingsStoreTestsmake test(44/44 shards passed)1f3bb5804812be23de990f1d1929919bf7aee23bExisting contributor media
Setting toggle:
Menu-open refresh demonstration: